package com.dmyang.service;

import com.dmyang.common.pojo.BootstrapTableResult;
import com.dmyang.common.pojo.HyResult;
import com.dmyang.entity.HyCategory;

import java.util.List;

/**
 * Created by brss on 2017/8/2.
 */
public interface CategoryService {
    BootstrapTableResult showCategoryList(Integer offset,Integer limit);
    HyResult addCategory(HyCategory category) throws Exception;
    HyResult modifyCategory(HyCategory category) throws Exception;
    HyResult deleteCategory(String ids) throws Exception;
    List<HyCategory> showAllCategory();
}
